<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<link rel="stylesheet" href="./lib/bootstrap@3.3.4/css/bootstrap.css">
<style>
    ul>li:nth-child(2n+1) {
        background-color: yellow;
    }

    ul>li:nth-child(2n) {
        background-color: pink;
    }
</style>
<!--栅格系统将屏幕 12
col-lg-(1-12)大屏
col-md-(1-12) 中等屏幕
col-sm-(1-12) 小平
col-xs-(1-12) 超小屏幕
-->

<body>
    <ul class="container-fluid">
        <li class="col-md-6 col-xs-1">1</li>
        <li class="col-md-4 col-xs-1">2</li>
        <li class="col-md-1 col-xs-1">3</li>
        <li class="col-md-1 col-xs-1">4</li>
        <li class="col-md-1 col-xs-1">5</li>
        <li class="col-md-1 col-xs-1">6</li>
        <li class="col-md-1 col-xs-1">7</li>
        <li class="col-md-1 col-xs-1">8</li>
        <li class="col-md-1 col-xs-1">9</li>
        <li class="col-md-1 col-xs-1">10</li>
        <li class="col-md-1 col-xs-1">11</li>
        <li class="col-md-1 col-xs-1">12</li>
    </ul>
    <table class="table table-striped">

        <head>
            <tr>
                <td>xx</td>
            </tr>
        </head>
        <tbody>
            <tr>
                <td>xx</td>
            </tr>
        </tbody>
    </table>
</body>

</html>